package edu.bjtu.supplychain.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

@Getter
@Setter
@ToString
public class Plant {
    private String factoryCode;

    private String productId;

    private String cropId;

    private String arrivalTime;

    private String outTime;

    private String quality;

    private String sponsor;

    private String logTime;

    public Plant(String factoryCode, String productId, String cropId, String arrivalTime, String outTime, String quality, String sponsor, String logTime) {
        this.factoryCode = factoryCode;
        this.productId = productId;
        this.cropId = cropId;
        this.arrivalTime = arrivalTime;
        this.outTime = outTime;
        this.quality = quality;
        this.sponsor = sponsor;
        this.logTime = logTime;
    }

    public Plant() {
    }
}
